//
//  MySelfVC.m
//  MyProject
//
//  Created by jiaming yan on 2018/3/14.
//  Copyright © 2018年 yanjiaming. All rights reserved.
//

#import "MySelfVC.h"
#import "UserInfoVC.h"

@interface MySelfVC ()
@property (weak, nonatomic) IBOutlet UIScrollView *scollView;

@end

@implementation MySelfVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationController.navigationBarHidden = YES;
    if (@available(iOS 11.0, *)) {
        self.scollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    } else {
        // Fallback on earlier versions
    }
}
- (IBAction)headButtonClick:(id)sender {
    UserInfoVC *vc = [[UserInfoVC alloc]init];
    vc.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
